#pragma once
#include "CDOCollection.h"

class CTimeline;


class CTimingCollection :
	public CDOCollection
{
public: 
	CTimingCollection();
	void SetTimingOwner(CTimeline * pTimingOwner);
	virtual HRESULT Clear();
	virtual HRESULT Append(CDependencyObject * pObject, XUINT32 * pnIndex);
	virtual HRESULT Insert(XUINT32 nIndex, CDependencyObject * pObject);
	virtual void * RemoveAt(XUINT32 nIndex);
private: 
	HRESULT CheckCanBeModified();
protected: 
	CTimeline * m_pTimingOwner;
};
